//
//  SHEHomeViewController.m
//  SHEPuzzleFigure
//
//  Created by xuss on 2019/11/25.
//  Copyright © 2019 Figure. All rights reserved.
//

#import "SHEHomeViewController.h"
#import "SHEHomeListViewC.h"
#import "SHEIntroductionVC.h"
#import "SHEHistoricalRecordVC.h"
#import "SHESelectTypeView.h"
#import "SHELoadingView.h"
#import "SHECustomViewController.h"

@interface SHEHomeViewController ()

@property (weak, nonatomic) IBOutlet UILabel *nameLab;
@property (weak, nonatomic) IBOutlet UILabel *typeLab;


@end

@implementation SHEHomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [_nameLab addShadow];
    [_typeLab addShadow];
    
}
//简单
- (IBAction)sempleAction:(id)sender {
    SHEHomeListViewC *homeListVC = [[SHEHomeListViewC alloc] init];
    homeListVC.titleStr = @"简单";
    [self.navigationController pushViewController:homeListVC animated:YES];
}
//正常
- (IBAction)normalAction:(id)sender {
    SHEHomeListViewC *homeListVC = [[SHEHomeListViewC alloc] init];
    homeListVC.titleStr = @"正常";
    [self.navigationController pushViewController:homeListVC animated:YES];
}
//困难
- (IBAction)difficultAction:(id)sender {
    SHEHomeListViewC *homeListVC = [[SHEHomeListViewC alloc] init];
    homeListVC.titleStr = @"困难";
    [self.navigationController pushViewController:homeListVC animated:YES];
}
//自定义
- (IBAction)customAction:(id)sender {
    SHECustomViewController *customVC = [[SHECustomViewController alloc] init];
    [self.navigationController pushViewController:customVC animated:YES];
}
//关于我
- (IBAction)aboutAction:(id)sender {
    [self.navigationController pushViewController:[SHEIntroductionVC new] animated:YES];
}
//排行榜
- (IBAction)rankingListAction:(id)sender {
    SHEHistoricalRecordVC *vc = [SHEHistoricalRecordVC new];
    vc.type = 1;
    [self.navigationController pushViewController:vc animated:YES];
}
//历史
- (IBAction)historyAction:(id)sender {
    SHEHistoricalRecordVC *vc = [SHEHistoricalRecordVC new];
    vc.type = 2;
    [self.navigationController pushViewController:vc animated:YES];
}


@end
